<template>
  <yd-rollnotice autoplay="2000" style="padding: 0 0.2rem;">
    <yd-rollnotice-item v-for="(item, index) in noticeLists" :key="index">
      <router-link :to="{ path: '/news_detail', query: { msg: item } }">
        <span style="margin-right: 0.1rem;color: #f00;">热</span>{{ item }}
      </router-link>
    </yd-rollnotice-item>
  </yd-rollnotice>
</template>
<script>
export default {
  data () {
    return {
      noticeLists: ['荣耀V9 3月超级钜惠', '3.23京东超级品牌日格力盛典', '京东服饰 早春新品低至7折']
    }
  }
}
</script>
